<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title></title>
        <link rel="stylesheet" href="__PUBLIC__/css/bootstrap.min.css">
        <link rel="stylesheet" href="__PUBLIC__/css/nav.css"> 
        <script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>    
        <script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>

    </head>
    <body>
        <table class="table panel-info bshadow" >
            <thead>
                <tr class="success">
                    <th>序号</th>
                    <th>设备名称</th>
                    <th>设备地址</th>
                    <th>反馈问题</th>
                    <th>反馈时间</th>
                    <th>反馈图片</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
                <tr>
                    <td>{$i}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.place}</td>
                    <td>{$vo.content}</td>
                    <td>{$vo.ms}</td>
                    <td><eq name="vo.url" value="null">无图片<else/><img style="height: 40px" onclick="cimage(this.src)" data-toggle="modal" data-target="#myModal" src="__ROOT__{$vo.qrcode}"></eq></td>
                    <td>已经处理</td>
                </tr>
            </volist>
        </tbody>
        <script>
            function cimage(s) {
                $('#image').attr("src", s);
            }
        </script>
        <tfoot>
            <tr class="active">
                <td colspan="9">
                    {$page}
                </td>
            </tr>
        </tfoot>
    </table>
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        反馈图片
                    </h4>
                </div>
                <div class="modal-body">
                    <img id="image" src="">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
</body>
</html>